package com.moore.mapper;

import com.moore.bean.Permissions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionMapper {
    List<Permissions> getPermissionsByRoleId(int roleId);
    void deletePermissionsByRoleId(int roleId);
    void insertRolePermission(@Param("roleId") int roleId, @Param("permissionId") int permissionId);
}
